﻿namespace ConsoleApp2._1021;

public class UserTestImpl: UserTest
{
    // 重写抽象方法 M1
    public override void Print()
    {
        throw new NotImplementedException();
    }

    public override void M1()
    {
        Console.WriteLine("M1 method implemented in UserTestImpl");
    }

    // 重写抽象方法 M2
    public override void M2()
    {
        Console.WriteLine("M2 method implemented in UserTestImpl");
    }

    // 重写抽象方法 M3
    public override void M3()
    {
        Console.WriteLine("M3 method implemented in UserTestImpl");
    }
}